//
// Created by Administrator on 2018/7/29.
//


#include "com_zyf_jni_hello_HelloWorld.h"

JNIEXPORT jstring JNICALL Java_com_zyf_jni_1hello_HelloWorld_helloworld
  (JNIEnv *env, jclass jobj){

    return (*env)->NewStringUTF(env,"HelloWorld 我是用jni调用出来的字符串");
  }


JNIEXPORT jint JNICALL Java_com_zyf_jni_1hello_HelloWorld_add
  (JNIEnv *evn, jobject jobj, jint a, jint b){
    return a+b;
  }
